package com.deep.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.deep.common.utils.PageUtils;
import com.deep.product.model.entity.SkuInfoEntity;
import com.deep.product.model.vo.SkuItemVO;

import java.math.BigDecimal;
import java.util.Map;

/**
 * sku信息
 *
 * @author deep
 * @email ${email}
 * @date 2022-01-13 17:09:54
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryDetail(Map<String, Object> params);

    /**
     * 查询商品详情
     */
    SkuItemVO queryItem(Long skuId);

    BigDecimal getPriceBySkuId(Long skuId);

    Long getSpuIdBySkuId(Long skuId);
}

